package com.xyzq.service.sm.impl;

import java.util.List;

import org.appfuse.model.User;
import org.appfuse.service.impl.GenericManagerImpl;

import com.xyzq.dao.sm.OrderClientDAO;
import com.xyzq.model.sm.OrderClient;
import com.xyzq.service.sm.OrderClientManager;

public class OrderClientManagerImpl extends
		GenericManagerImpl<OrderClient, Long> implements OrderClientManager {
	OrderClientDAO orderClientDao;

	public OrderClientManagerImpl(OrderClientDAO orderClientDao) {
		super(orderClientDao);
		this.orderClientDao = orderClientDao;
	}

	public List<OrderClient> findByUser(User user) {
		// TODO Auto-generated method stub
		return orderClientDao.findByUser(user);
	}

	public List<OrderClient> findByConflictOrderClient(OrderClient orderClient) {
		// TODO Auto-generated method stub
		return orderClientDao.findByOrderClient(orderClient);
	}

}
